Feature: Edit Post with Datapool Apriori with tittle grether than 255 Char

Scenarios

Chart

Status

Progress

1

Passed

0.00%

Failed

0.00%
Total duration:
1m 49.619s

Scenario: Como usuario quiero editar un post en la plataforma con un titulo de mas de 255 char

Before 0m 1.575s
Given I navigate to page "<URL_GHOST>" 0m 1.400s
And I wait for 2 seconds 0m 2.751s
And I enter email "<EMAIL>" 0m 0.836s
And I enter password "<PASSWORD>" 0m 0.824s
And I click Sign in 0m 0.999s
And I wait for 2 seconds 0m 2.864s
When I open post 0m 0.882s
And I wait for 1 seconds 0m 1.824s
When I click new post 0m 0.853s
And I wait for 1 seconds 0m 1.767s
When I enter titulo post "Cum nihil quidem." 0m 0.813s
And I wait for 1 seconds 0m 1.738s
When I enter description post "Sed officiis voluptas tempora reprehenderit accusamus molestiae voluptatem iste velit. Perspiciatis aspernatur qui tenetur. Iusto odit necessitatibus." 0m 1.734s
And I wait for 2 seconds 0m 2.794s
When I click Publish 0m 0.855s
And I wait for 2 seconds 0m 2.805s
When I click Continue final review 0m 0.837s
And I wait for 1 seconds 0m 1.763s
When I click publish post right now 0m 0.807s
And I wait for 2 seconds 0m 2.806s
When I click back editor 0m 0.809s
And I wait for 1 seconds 0m 1.758s
When I click back post 0m 0.902s
And I wait for 1 seconds 0m 1.786s
When I open edition 0m 0.791s
And I wait for 1 seconds 0m 1.754s
Then I edit titulo post "Sit et voluptatum tempora harum voluptas. Nobis non natus error praesentium quae autem. Doloremque corporis ut labore nemo et. Beatae quaerat reprehenderit. Unde fuga omnis ut sunt. Soluta sed non. Vero qui commodi. Rerum ratione ut ea non et. Id repellat sit magni harum non voluptatem eaque maiores non. Accusantium nemo quia quia velit non ut est unde aut." 0m 2.107s
And I wait for 1 seconds 0m 1.803s
When I update 0m 0.814s
And I wait for 2 seconds 0m 2.773s
Then I find note creation error "Update failed: Title cannot be longer than 255 characters." 0m 0.787s + Show Error
AssertionError: expected 'Critical security update available — …' to include 'Update failed: Title cannot be longer…'
    at KrakenWorld.<anonymous> (/Users/alexandercontreras/Documents/MISO_maestria_uniandes/ciclo_202215/Pruebas_automatizadas_de_software/git_projects/MISO4104_202215_Equipo_White/Semana8/Kraken_datapool/features/web/step_definitions/post_steps.js:116:23)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
And I wait for 2 seconds 0m 0.000s
After 0m 0.008s

Screenshots

Before
NO IMAGE AVAILABLE
Given I navigate to page "<URL_GHOST>"
And I wait for 2 seconds
And I enter email "<EMAIL>"
And I enter password "<PASSWORD>"
And I click Sign in
And I wait for 2 seconds
When I open post
And I wait for 1 seconds
When I click new post
And I wait for 1 seconds
When I enter titulo post "Cum nihil quidem."
And I wait for 1 seconds
When I enter description post "Sed officiis voluptas tempora reprehenderit accusamus molestiae voluptatem iste velit. Perspiciatis aspernatur qui tenetur. Iusto odit necessitatibus."
And I wait for 2 seconds
When I click Publish
And I wait for 2 seconds
When I click Continue final review
And I wait for 1 seconds
When I click publish post right now
And I wait for 2 seconds
When I click back editor
And I wait for 1 seconds
When I click back post
And I wait for 1 seconds
When I open edition
And I wait for 1 seconds
Then I edit titulo post "Sit et voluptatum tempora harum voluptas. Nobis non natus error praesentium quae autem. Doloremque corporis ut labore nemo et. Beatae quaerat reprehenderit. Unde fuga omnis ut sunt. Soluta sed non. Vero qui commodi. Rerum ratione ut ea non et. Id repellat sit magni harum non voluptatem eaque maiores non. Accusantium nemo quia quia velit non ut est unde aut."
And I wait for 1 seconds
When I update
And I wait for 2 seconds
Then I find note creation error "Update failed: Title cannot be longer than 255 characters."
And I wait for 2 seconds
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE